package school.valon.persistence.pojo;

import java.io.Serializable;

import javax.persistence.*;

/**
 * The persistent class for the user_type database table.
 * 
 */
@Entity
@Table(name="user_type")
@NamedQueries({
@NamedQuery(name="UserType.findAll", query="SELECT u FROM UserType u"),
@NamedQuery(name="UserType.deleteById", query="DELETE FROM UserType WHERE userTypeId = :P1")
})
public class UserType implements Serializable {

	private static final long serialVersionUID = 5620287792514199929L;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="user_type_id")
	private Integer userTypeId;

	@Column(name="user_type_name")
	private String userTypeName;

	public Integer getUserTypeId() {
		return this.userTypeId;
	}

	public void setUserTypeId(Integer userTypeId) {
		this.userTypeId = userTypeId;
	}

	public String getUserTypeName() {
		return this.userTypeName;
	}

	public void setUserTypeName(String userTypeName) {
		this.userTypeName = userTypeName;
	}

}